package chenshuaiwen.domain.dto;

import chenshuaiwen.domain.enums.RoleDateScope;

/**
 * 数据传输对象类型-角色
 *
 * @author 陈帅闻
 * @since 2025/4/20 15:03
 */

// Alt+Ctrl+L
public class RoleDto extends BaseDto{

    /**
     * 角色名称
     */
    public String name;

    /**
     * 角色数据访问范围
     */
    public RoleDateScope dataScope;

    public RoleDto() {
    }

    public RoleDto(String name, RoleDateScope dataScope) {
        this.name = name;
        this.dataScope = dataScope;
    }

}
